﻿{% include 'header.html' %}
<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Steam游戏库</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <script src="../static/js/echarts.js"></script>
    <style>
        .feature-card {
            transition: transform 0.3s ease;
            cursor: pointer;
        }
        .feature-card:hover {
            transform: translateY(-5px);
        }
        .nav-link {
            color: #2c3e50;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        .nav-link:hover {
            background-color: #3498db;
            color: white;
        }
    </style>
</head>

<body class="bg-light">
    <!-- 主要内容区域 -->
    <div class="container mt-5">
        <div class="row justify-content-center">
            <div class="col-md-10">
                <div class="card shadow-lg border-0 rounded-lg">
                    <div class="card-body p-5">
                        <h1 class="card-title text-center mb-4 display-4 fw-bold text-primary">Steam游戏库</h1>
                        <p class="text-center text-muted mb-5 fs-5">探索游戏价格分布和系统兼容性统计信息</p>

                        <div class="row g-4">
                            <div class="col-md-6">
                                <div class="card feature-card h-100 border-0 shadow-sm" onclick="window.location.href='/price_game'">
                                    <div class="card-body text-center p-4">
                                        <i class="fas fa-chart-line fa-3x text-primary mb-3"></i>
                                        <h3 class="card-title h4">优惠游戏分布图</h3>
                                        <p class="card-text text-muted">查看优惠游戏分布统计和分析</p>
                                    </div>
                                </div>
                            </div>
                            <div class="col-md-6">
                                <div class="card feature-card h-100 border-0 shadow-sm" onclick="window.location.href='/Sys_game'">
                                    <div class="card-body text-center p-4">
                                        <i class="fas fa-laptop fa-3x text-success mb-3"></i>
                                        <h3 class="card-title h4">系统兼容性统计</h3>
                                        <p class="card-text text-muted">了解游戏系统兼容性分析</p>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="text-center mt-5">
                            <a href="/" class="btn btn-outline-primary me-2">查看所有游戏</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>